export interface ResponseData {
  status: number
}

export type UserItem = {
  _id: string
  nick: string
  isAdmin: boolean
}

export interface AdminGetUsersResponseData extends ResponseData {
  data: {
    users: UserItem[]
    total: number
  }
}

export interface UpdateResponseData extends ResponseData {
  message: string
}
